package Waiting;

import java.awt.image.BufferedImage;

public class bingren implements Runnable{ //实现Runnable接口，并且重写其中的方法
    //用于表示横纵坐标
    private int x;
    private int y;



    //用于表示当前状态
    private String status;
    //用于显示当前状态对应的图像
    private BufferedImage show = null;
    //定义一个BackGround对象，用于获取障碍物的信息
    private BackGround backGround = new BackGround();

    //线程对象用来实现冰人的动作
    private Thread thread = null;

    public bingren(){

    }
    public bingren(int x,int y){
        this.x=x;
        this.y=y;
        show = StaticValue.blue_stand_L;
        this.status = "blue_stand_L";
        thread = new Thread(this);//初始化线程
        thread.start();//启动线程，调用start方法
    }

    @Override
    public void run() {

    }
    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public BufferedImage getShow() {
        return show;
    }

    public void setShow(BufferedImage show) {
        this.show = show;
    }
}
